package com.gxa.modules.app.carousel.stoptreatment.service.impl;

import com.gxa.modules.app.carousel.stoptreatment.mapper.StopTreatmentMapper;
import com.gxa.modules.app.carousel.stoptreatment.service.StopTreatmentService;
import com.gxa.modules.model.entity.hospital.SuspensionNotice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class StopTreatmentServiceImpl implements StopTreatmentService {
    @Resource
    private StopTreatmentMapper stopTreatmentMapper;
    @Override
    public SuspensionNotice queryNotice() {
        return stopTreatmentMapper.selectByTime();
    }
}
